<template>
	<div class="header">
		<b @click="$emit('leftClick')">{{ left }}</b>
		<slot></slot>
		<i></i>
	</div>
</template>

<script>
export default {
	props: {
		left: {
			type: String,
		}
	}
}
</script>


<style scoped>
.header {
	height: 46px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #ccc;
	padding: 0 20px;
}
</style>